package design.p19_memento;

/**
 * @ClassName: Java
 * @description:
 * @author: zxf
 * @create: 2021-06-20 10:18
 **/
public class Storage {

    private Memento memento;

    public Storage(Memento memento){
        this.memento = memento;
    }

    public Memento getMemento() {
        return memento;
    }

    public void setMemento(Memento memento) {
        this.memento = memento;
    }
}

